test.exe:test.cpp
	g++ -o $@ $^ -lpthread -std=c++14

.PHONY:run
run:
	./test.exe

.PHONY:clean
clean:
	rm -f test.exe